package com.xiaoyu.izf.repository;

import com.xiaoyu.izf.model.NewsInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface NewsInfoDao extends JpaRepository<NewsInfo,Integer>, JpaSpecificationExecutor<NewsInfo> {

    public NewsInfo findOneById(int id);
}
